PESetGraphFontInfo

Use PESetGraphFontInfo to set the font information for the specified chart.

C Syntax
BOOL CRPE_API PESetGraphFontInfo (
        short printJob,
        short sectionN,
        short graphN,
        WORD titleFontType,
        PEFontColorInfo FAR *fontColourInfo );
Parameters

printJob

Specifies the print job for which you want to set chart font information.

sectionN

Specifies the number of the section in which the chart appears. This parameter should be within the range obtained by PEGetNSections.

graphN

Specifies for which chart within the section you want to set the font information. This value is 0-based. Charts are numbered based on their order of insertion into the report.

titleFontType

Uses one of the PE_GTF_XXX Graph Text Font Constants

fontColourInfo

Specifies a pointer to PEFontColorInfo,which will contain the new information.

Returns
VB Syntax
Declare Function PESetGraphFontInfo Lib "crpe32.dll" (
    ByVal printJob As Integer, ByVal sectionN As Integer,
    ByVal graphN As Integer, ByVal titleFontType As Integer,
    fontColourInfo As PEFontColorInfo ) As Integer
Delphi Syntax
function PESetGraphFontInfo (
printJob : Smallint;
sectionN : Smallint;
graphN : Smallint;
titleFontType : Word;
var fontColourInfo : PEFontColorInfo): Bool; {$ifdef WIN32} stdcall;{$endif}


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com